I have a simple c file parsed by ctagssidekick:
int a;
main () {}
SideKick options:
no checkbox, auto expand = 0, parser: ctags
Ctags options are following:
groupers: Namespace, Kind
sorters: Line
After ctags parses the file I have 2 groups: variable and function. I collapse variable.
I parse again. Variable expands.
Desired behaviour: do not expand all nodes with auto_expand = 0. Preferrably remember
which nodes were open, but definitely: do not expand when user didn't asked for that.
Submitted | jarekczek - 2011-12-08 - 10:46:25z | Assigned | daleanson |
---|---|---|---|
Priority | 5 | Category | None |
Status | Open | Group | None |
Resolution | None | Visibility | No |
2011-12-08 - 14:27:50z daleanson |
This happens with other sidekicks, not just ctagssidekick. |
---|---|
2012-01-06 - 11:17:45z jarekczek |
Got it. Will test and commit soon. The order of actions was not as intended because of passing to many calls to Swing.invokeLater in SideKickTree.expandAll |
2012-01-06 - 14:03:21z jarekczek |
But after fixing a bug I have a problem: if I set autoExpand to 0 it eats all without
possibility to expand. Minimum reasonable value is 1 which shows the filename and
the first row. |
2012-01-06 - 15:36:40z jarekczek |
I leave it to your choice. Won't commit. Attaching a patch that fixes only one thing: collapsing the whole tree. Please deal with the 0 problem. |
2012-01-06 - 15:36:05z jarekczek |
sidekick_expand_1_02.txt a patch |
---|